<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<div class="form-group">	
								<label class="col-sm-3 control-label">标题：</label>
								<div class="col-sm-8">
									<input id="title" name="title" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">图片类型：</label>
								<div class="col-sm-8">
									<select id = "type" name="type" style="width: 80%;height: 30px">
										<option value="0">首页轮播图</option>
										<option value="1">商城轮播图</option>
										<option value="2">拼团广告图</option>
										<option value="2">二维码背景图</option>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">图片：</label>
								<div class="col-sm-8">

									<div id="file_upload">
									</div>
									<div id="logo" style="padding: 5px;"></div>
									<input type="hidden" id="imgUrl" name="imgUrl">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">跳转类型：</label>
								<div class="col-sm-8">
									<!--<input id="status" name="status" class="form-control" type="text">-->
									<label class="radio-inline"> <input checked id="0" type="radio" name="mode" value="0" />
										跳商品
									</label>
									<label class="radio-inline"> <input id="1" type="radio" name = "mode" value="1" />
										跳文章
									</label>
									<label class="radio-inline"> <input id="2" type="radio" name = "mode" value="2" />
										不跳
									</label>
								</div>
							</div>
							<!--<div class="form-group">
								<label class="col-sm-3 control-label">跳转链接：</label>
								<div class="col-sm-8">
									<input id="linkUrl" name="linkUrl" class="form-control" type="text">
								</div>
							</div>-->
							

							<div class="form-group" id="goodsDiv" >
								<label class="col-sm-3 control-label">跳转商品：</label>
								<div class="col-sm-8">
									<select data-placeholder="--选择商品--" name="goodsId" id="goodsId"
											class="form-control chosen-select" tabindex="2" >
										<option value="">--选择商品--</option>
									</select>
								</div>
							</div>
							
							<div class="form-group" id="contentDiv" style="visibility:hidden;">
								<label class="col-sm-3 control-label">跳转文章：</label>
								<div class="col-sm-8">
									<select data-placeholder="--选择文章--" name="goodsId" id= 'content' 
											class="form-control chosen-select-content" tabindex="2" >
										<option value="">--选择文章--</option>
									</select>
								</div>
							</div>
														<!--<div class="form-group">	-->
								<!--<label class="col-sm-3 control-label">商品id：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<input id="goodsId" name="goodsId" class="form-control" type="text">-->
								<!--</div>-->
							<!--</div>-->
							<div class="form-group">
								<label class="col-sm-3 control-label">显示状态：</label>
								<div class="col-sm-8">
									<!--<input id="status" name="status" class="form-control" type="text">-->
									<label class="radio-inline"> <input checked type="radio" name="status" value="0" />
										显示
									</label> <label class="radio-inline"> <input type="radio" name = "status" value="1" />
									隐藏
								</label>
								</div>
							</div>
																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script src="/js/layui.js"></script>
	<script type="text/javascript" src="/js/appjs/wx/cmsSlide/add.js">
	</script>
</body>
</html>
